gdkglcontext-win32: fix variable names in GDK_NOTE
authorRyan Lortie <desrt@desrt.ca>
Mon, 2 Mar 2015 02:35:53 +0000 (21:35 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 2 Mar 2015 02:38:19 +0000 (21:38 -0500)
These probably weren't caught because GDK_NOTE was disabled when the
change was tested.

https://bugzilla.gnome.org/show_bug.cgi?id=745400

gdk/win32/gdkglcontext-win32.c

index 690ea8c58ecafd246b2b5a45a4487dbc8d418af1..6da67685b19df5ac73b98d56b3bec7d0a1c1173a 100644 (file)
@@ -476,7 +476,7 @@ _gdk_win32_gl_context_realize (GdkGLContext *context,
 
   GDK_NOTE (OPENGL,
             g_print ("Creating core WGL context (version:%d.%d, debug:%s, forward:%s)\n",
-            major, minor,
+            glver_major, glver_minor,
             debug_bit ? "yes" : "no",
             compat_bit ? "yes" : "no"));